﻿@model Guline.Web.CentralModels.Object.Contact
@{
    ViewBag.Title = @Guline.Web.CentralLanguages.Main.lblEditContact;
    Layout = "~/Views/Shared/_GLSettingLayout.cshtml";
}
<span class="s_title_body_right">@ViewBag.Title</span>
<div class="s_content_body_right">
    @using (Html.BeginForm())
    {
        <table border="0" width="100%">
            <col style="width:25%">
            <col style="width:75%">
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblPhoneNumber</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.PhoneNumber)
                    <span class="msg">@Html.ValidationMessageFor(m => m.PhoneNumber)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblContactName</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.ContactName)
                    <span class="msg">@Html.ValidationMessageFor(m => m.ContactName)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAddress</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.Address)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Address)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAddedFrom</td>
                <td class="td_left">
                    @Html.EditorFor(m => m.AddedFrom)
                    <span class="msg">@Html.ValidationMessageFor(m => m.AddedFrom)</span>
                </td>
            </tr>
            @Html.HiddenFor(m => m.ID)
        </table>
        <div class="submit">
            <input type="submit" value="@Guline.Web.CentralLanguages.Main.lblSaveChange" class="btn_submit center" />
            @Html.ActionLink(@Guline.Web.CentralLanguages.Main.lblBack, "", null, new { @class = "s_cancel center" })
        </div>
    }
</div>

